<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@include file="/WEB-INF/pages/common/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", -10);
%>
<s:url id="book_list" action="book_list" namespace="/admin"
	includeParams="none" />
<s:url id="book_edit" action="book_edit" namespace="/admin"
	includeParams="none" />
<s:url id="chat_edit" action="chat_edit" namespace="/admin"
	includeParams="none" />
<s:url id="chat_list" action="chat_list" namespace="/admin"
	includeParams="none" />
<s:url id="note_list" action="note_list" namespace="/admin"
	includeParams="none" />
<s:url id="orders_edit" action="orders_edit" namespace="/admin"
	includeParams="none" />
<s:url id="web_order_list" action="web_order_list" namespace="/admin"
	includeParams="none" />
<s:url id="pay_list" action="pay_list" namespace="/admin"
	includeParams="none" />
<s:url id="orders_list" action="orders_list" namespace="/admin"
	includeParams="none" />
<s:url id="admin_log" action="admin_log" namespace="/admin"
	includeParams="none" />
<s:url id="user_log" action="user_log" namespace="/admin"
	includeParams="none" />
<title>作业辅导</title>

<script language="javascript" src="${context_path}/js/page.js"></script>
<script language="javascript" src="${context_path}/js/jquery.js"></script>
<style type="text/css">
<!--
body,p,div,h1,td,th,dd,dt,dl,textarea,pre,span,table,ul,li,ol,a {
	margin: 0px;
	padding: 0px;
}

.STYLE2 {
	color: #FFFFFF;
	font-weight: bold;
}

.STYLE3 {
	color: #FFFFFF
}

.font14 {
	font-size: 14px;
}

dl,dd,dt,ul,li {
	margin: 0;
	padding: 0;
	font-size: 13px;
}

ul,li {
	list-style: none;
}

#sideBar {
	width: 170px;
	height: auto;
	float: left;
	padding: 2px;
	text-align: center;
}

#sideBar dt,#sideBar dd {
	line-height: 150%;
	margin: 2px;
	border: 1px #7B869A solid;
	font-size: 14px;
}

#sideBar dt {
	background-color: #1F4A65;
	color: #FFFFFF;
	cursor: pointer;
}

#sideBar dd {
	background-color: #fff;
	display: ;
}

#sideBar dd li a {
	color: #000;
	text-decoration: none;
}
-->
</style>
</head>
<body>
<table width="173" height="100%" border="0" align="left" cellpadding="0"
	cellspacing="0" style="table-layout: fixed;">
	<tr>
		<td
			style="width: 0px; background-image: url(${context_path}/images/main_16.gif)"></td>
		<td width="173" valign="top">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="26" align="center"
					background="${context_path}/images/main_11.gif"><img
					src="${context_path}/images/a.gif" width="13" height="11"> <span
					class="STYLE2 font14">管理菜单</span></td>
			</tr>
			<tr>
				<td height="24" align="left">
				<div id="sideBar">
				<dl>
					<s:if test="%{#session.题库管理!=null}">
						<dt>题库管理</dt>
						<dd>
						<ul>
							<li><s:if test="%{#session.题库!=null}">
								<s:if test="%{#session.题库.aclVo.operaterAdd==1}">
									<a href="${book_edit}" target="I2">题库添加</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.题库.aclVo.operaterShow==1}">
									<a href="${book_list}" target="I2">题库目录</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.试卷!=null}">
								<s:if test="%{#session.试卷.aclVo.operaterAdd==1}">
									<a href="${context_path}/admin/sj_open.action" target="I2">试卷添加</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.试卷.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/sj_list.action" target="I2">试卷目录</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.题目!=null}">
								<s:if test="%{#session.题目.aclVo.operaterDeploy==1}">
									<a href="${context_path}/admin/open_contentPub.action"
										target="I2">题目发布</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.题目.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/content_Publist.action"
										target="I2">题目列表</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.试卷!=null}">
								<s:if test="%{#session.试卷.aclVo.operaterDeploy==1}">
									<a href="${context_path}/admin/sj_pubopen.action" target="I2">试卷发布</a>&nbsp;|&nbsp;
								</s:if>
								<s:if test="%{#session.试卷.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/sj_publist.action" target="I2">试卷列表</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.杂题!=null}">
								<s:if test="%{#session.杂题.aclVo.operaterDeploy==1}">
									<a href="${context_path}/admin/mix_open.action" target="I2">杂题发布</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.杂题.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/mix_list.action" target="I2">杂题列表</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.采集教材!=null}">
								<a href="${context_path}/admin/to_gather.action" target="I2">采集教材</a>
							</s:if></li>
						</ul>
						</dd>
					</s:if>
					<s:if test="%{#session.问题管理!=null}">
						<dt>问题管理</dt>
						<dd>
						<ul>
							<li><s:if test="%{#session.未解答问题!=null}">
								<s:if test="%{#session.未解答问题.aclVo.operaterShow==1}">
									<a
										href="${context_path}/admin/question_list.action?question.finished=0"
										target="I2">未解答问题列表</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.已解答问题!=null}">
								<s:if test="%{#session.已解答问题.aclVo.operaterShow==1}">
									<a
										href="${context_path}/admin/question_list.action?question.finished=1"
										target="I2">已解答问题列表</a>
								</s:if>
							</s:if></li>
						</ul>
						</dd>
					</s:if>
					<s:if test="%{#session.文章管理!=null}">
						<dt>文章管理</dt>
						<dd>
						<ul>
							<li><s:if test="%{#session.栏目!=null}">
								<s:if test="%{#session.栏目.aclVo.operaterAdd==1}">
									<a href="${context_path}/admin/open_column.action" target="I2">栏目添加</a>&nbsp;|&nbsp; 
									</s:if>
								<s:if test="%{#session.栏目.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/column_list.action" target="I2">栏目管理</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.文章!=null}">
								<s:if test="%{#session.文章.aclVo.operaterAdd==1}">
									<a href="${context_path}/admin/open_article.action" target="I2">添加文章</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.文章.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/article_list.action" target="I2">文章管理</a>
								</s:if>
							</s:if></li>
						</ul>
						</dd>
					</s:if>
					<s:if test="%{#session.角色管理!=null}">
						<dt>角色管理</dt>
						<dd>
						<ul>
							<li><s:if test="%{#session.教师!=null}">
								<s:if test="%{#session.教师.aclVo.operaterAdd==1}">
									<a
										href="${context_path}/admin/to_create_user.action?userType=teacher"
										target="I2">添加教师</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.教师.aclVo.operaterShow==1}">
									<a
										href="${context_path}/admin/user_list.action?userType=teacher"
										target="I2">教师列表</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.管理!=null}">
								<s:if test="%{#session.管理.aclVo.operaterAdd==1}">
									<a
										href="${context_path}/admin/to_create_user.action?userType=admin"
										target="I2">添加管理</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.管理.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/user_list.action?userType=admin"
										target="I2">管理列表</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.学生!=null}">
								<s:if test="%{#session.学生.aclVo.operaterAdd==1}">
									<a
										href="${context_path}/admin/to_create_user.action?userType=student"
										target="I2">添加学生</a>&nbsp;|&nbsp; </s:if>
								<s:if test="%{#session.学生.aclVo.operaterShow==1}">
									<a
										href="${context_path}/admin/user_list.action?userType=student"
										target="I2">学生列表</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.角色!=null}">
								<s:if test="%{#session.角色.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/find_role.action" target="I2">角色列表</a>
								</s:if>
							</s:if></li>
						</ul>
						</dd>
					</s:if>
					<s:if test="%{#session.属性管理!=null}">
						<dt>属性管理</dt>
						<dd>
						<ul>
							<li><s:if test="%{#session.地区!=null}">
								<s:if test="%{#session.地区.aclVo.operaterAdd==1}">
									<a href="${context_path}/admin/open_zone.action" target="I2">添加地区</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.地区.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/zone_list.action" target="I2">地区管理</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.属性!=null}">
								<s:if test="%{#session.属性.aclVo.operaterAdd==1}">
									<a href="${context_path}/admin/open_property.action"
										target="I2">添加属性</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.属性.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/property_list.action"
										target="I2">属性管理</a>
								</s:if>
							</s:if></li>
							<li><s:if test="%{#session.学校!=null}">
								<s:if test="%{#session.学校.aclVo.operaterAdd==1}">
									<a href="${context_path}/admin/open_school.action" target="I2">添加学校</a>&nbsp;|&nbsp;</s:if>
								<s:if test="%{#session.学校.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/school_list.action" target="I2">学校管理</a>
								</s:if>
							</s:if></li>
						</ul>
						</dd>
					</s:if>
					<s:if test="%{#session.语音教室管理!=null}">
						<dt>语音教室管理</dt>
						<dd>
						<ul>
							<s:if test="%{#session.语音教室!=null}">
								<s:if test="%{#session.语音教室.aclVo.operaterAdd==1}">
									<li><a href="${chat_edit}?doType=save" target="I2">添加语音教室</a></li>
								</s:if>
								<s:if test="%{#session.语音教室.aclVo.operaterShow==1}">
									<li><a href="${chat_list}" target="I2">语音教室列表</a></li>
								</s:if>
							</s:if>
							<s:if test="%{#session.教室留言!=null}">
								<s:if test="%{#session.教室留言.aclVo.operaterAdd==1}">
									<li><a href="${note_list}" target="I2">教室留言列表</a></li>
								</s:if>
							</s:if>
						</ul>
						</dd>
					</s:if>
					<s:if test="%{#session.用户缴费管理!=null}">
						<dt>用户缴费管理</dt>
						<dd>
						<ul>
							<s:if test="%{#session.缴费记录!=null}">
								<s:if test="%{#session.缴费记录.aclVo.operaterAdd==1}">
									<li><a
										href="${context_path}/admin/open_payrecordAdd.action"
										target="I2">新增缴费记录</a></li>
								</s:if>
								<s:if test="%{#session.缴费记录.aclVo.operaterShow==1}">
									<li><a href="${context_path}/admin/payrecord_list.action"
										target="I2">缴费记录列表</a></li>
								</s:if>
							</s:if>
							<s:if test="%{#session.用户列表!=null}">
								<s:if test="%{#session.用户列表.aclVo.operaterAdd==1}">
									<li><a href="${context_path}/admin/open_list.action"
										target="I2">开通用户列表</a></li>
								</s:if>
								<s:if test="%{#session.用户列表.aclVo.operaterShow==1}">
									<li><a href="${context_path}/admin/close_list.action"
										target="I2">过期用户列表</a></li>
								</s:if>
							</s:if>
							<s:if test="%{#session.卡类型!=null}">
								<s:if test="%{#session.卡类型.aclVo.operaterAdd==1}">
									<li><a href="${context_path}/admin/open_cardAdd.action"
										target="I2">新建卡类型</a></li>
								</s:if>
								<s:if test="%{#session.卡类型.aclVo.operaterShow==1}">
									<li><a href="${context_path}/admin/card_list.action"
										target="I2">卡类型列表</a></li>
								</s:if>
							</s:if>
						</ul>
						</dd>
					</s:if>
					<s:if test="%{#session.日志管理!=null}">
						<dt>日志管理</dt>
						<dd>
						<ul>
							<li><s:if test="%{#session.管理员日志!=null}">
								<s:if test="%{#session.管理员日志.aclVo.operaterShow==1}">
									<a href="${admin_log}" target="I2">管理员日志</a>
							&nbsp;|&nbsp;</s:if>
							</s:if> <s:if test="%{#session.用户日志!=null}">
								<s:if test="%{#session.用户日志.aclVo.operaterShow==1}">
									<a href="${user_log}" target="I2">用户日志</a>
								</s:if>
							</s:if></li>
						</ul>
						</dd>
					</s:if>
					<s:if test="%{#session.家教管理!=null}">
					<dt>家教管理</dt>
						<dd>
						<ul>
							<li><s:if test="%{#session.家教信息!=null}">
								<s:if test="%{#session.家教信息.aclVo.operaterShow==1}">
									<a href="${context_path}/info/home_teacher_list.action" target="I2">家教信息</a>
							&nbsp;|&nbsp;
							</s:if>
							</s:if> <s:if test="%{#session.学员信息!=null}">
								<s:if test="%{#session.学员信息.aclVo.operaterShow==1}">
									<a href="${context_path}/info/apply_student_list.action" target="I2">学员信息</a>
								</s:if>
							</s:if>
							</li>
						</ul>
						</dd>
						</s:if>
						<s:if test="%{#session.课程表管理!=null}">
					<dt>课程表管理</dt>
						<dd>
						<ul>
							<li><s:if test="%{#session.课表管理!=null}">
								<s:if test="%{#session.课表管理.aclVo.operaterAdd==1}">
									<a href="${context_path}/admin/open_add.action" target="I2">添加课表</a>
							&nbsp;|&nbsp;
							</s:if>
							</s:if> <s:if test="%{#session.课表管理!=null}">
								<s:if test="%{#session.课表管理.aclVo.operaterShow==1}">
									<a href="${context_path}/admin/class_list.action" target="I2">课表管理</a>
								</s:if>
							</s:if>
							</li>
						</ul>
						</dd>
						</s:if>
				</dl>
				<li><br>
				<a href="${context_path}/admin/exit.action" target="_top">退出</a></li>
				</div>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</body>
</html>
<script src="${context_path}/js/jquery.js"></script>
<script>
$(document).ready(function(){
	$("#sideBar dt").click(function(){
		$("#sideBar dd").css("display","none");
		$(this).next("dd").css("display","block");
	});
	$("#sideBar li").hover(
	function(){
		$(this).css("background","#E5E7EB");
	},
	function(){
		$(this).css("background","#FFFFFF");
	});

});
</script>